projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b2bda7
)
Fix a small leak in GtkFileSelector
author
Michael Chudobiak
<mjc@avtechpulse.com>
Sat, 11 Apr 2009 05:47:29 +0000
(
01:47
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 11 Apr 2009 05:47:29 +0000
(
01:47
-0400)
gtk/gtkfilesel.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilesel.c
b/gtk/gtkfilesel.c
index 318e67aa388153072044d8cf941906def3961f0b..0aa9f17d9178fca2b0b6598dfd09724c82731999 100644
(file)
--- a/
gtk/gtkfilesel.c
+++ b/
gtk/gtkfilesel.c
@@
-3005,14
+3005,16
@@
open_new_dir (gchar *dir_name,
if (!sys_dir_name)
{
cmpl_errno = CMPL_ERRNO_DID_NOT_CONVERT;
+ g_free (sent);
return NULL;
}
-
+
directory = g_dir_open (sys_dir_name, 0, &error);
if (!directory)
{
cmpl_errno = error->code; /* ??? */
g_free (sys_dir_name);
+ g_free (sent);
return NULL;
}